The generator matrix

 1  0  1  1  1  1  1 2X^2+X  1  1  1 2X  1  1  1 X^2  1  1  1 X^2+X  1  1  1 X^2+2X  1  1  1  1  1  1  1  1  1 2X^2  X 2X^2+2X  1  1  1
 0  1 2X^2+2X+1  2 2X^2+X X+1 2X^2+X+2  1 2X 2X^2+1 2X+2  1 X^2 X^2+2X+1 X^2+2  1 X^2+X X^2+X+1 X^2+X+2  1 X^2+2X X^2+1 X^2+2X+2  1 2X^2 2X+1 2X^2+2  X 2X^2+X+1 X+2 2X^2+2X  1 2X^2+2X+2  1  1  1  0 2X^2+X 2X

generates a code of length 39 over Z3[X]/(X^3) who�s minimum homogenous weight is 76.

Homogenous weight enumerator: w(x)=1x^0+54x^76+558x^78+108x^79+2x^81+6x^90

The gray image is a linear code over GF(3) with n=351, k=6 and d=228.
This code was found by Heurico 1.16 in 0.00939 seconds.